
<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@ include file="/head.jsp" %>
	<table width="800" border="1">
	  <caption>
	  申请用户列表
	  </caption>
	  <tr>
		<th scope="col">申请ID</th>
		<th scope="col">用户ID</th>
		<th scope="col">用户名称</th>
		<th scope="col">申请时间</th>
		<th scope="col">申请状态</th>
		<th scope="col">操作</th>
	  </tr>
	  <s:iterator value="list" status="index">
	  <tr>
	    <td scope="col" align="center">&nbsp;<s:property value="applyID"/></td>
	    <td scope="col" align="center">&nbsp;<s:property value="userID"/></td>
	    <td scope="col" align="center">&nbsp;<s:property value="userName"/></td>
	    <td scope="col" align="center">&nbsp;<s:property value="applyTime"/></td>
	    <td scope="col" align="center">&nbsp;<s:property value="applyStatus"/></td>
	    <td scope="col" align="center">【&nbsp;
	    	<s:if test="applyStatus=='等待审批'">
	    	<a href="/admin/applyYes.action?appID=<s:property value='applyID'/>&userID=<s:property value='userID'/>">批准</a>
	    	&nbsp;|&nbsp;
	    	<a href="/admin/applyNo.action?appID=<s:property value='applyID'/>&userID=<s:property value='userID'/>">拒绝</a>
	    	</s:if>
	    	<s:elseif test="applyStatus=='申请通过'">
	    	<a href="/admin/applyNo.action?appID=<s:property value='applyID'/>&userID=<s:property value='userID'/>">拒绝</a>
	    	</s:elseif>
	    	<s:elseif test="applyStatus=='申请拒绝'">
	    	<a href="/admin/applyYes.action?appID=<s:property value='applyID'/>&userID=<s:property value='userID'/>">批准</a>
	    	</s:elseif>
	    	&nbsp;】
	    </td>
      </tr>
      </s:iterator>
	</table>
<%@ include file="/foot.jsp" %>